home *** CD-ROM | disk | FTP | other *** search
/ PC Users 1998 March / Pc Users extra 6.iso / pshare95 / prog / aicons / vb5demo.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-07-25  |  2.0 KB  |  66 lines

  1. VERSION 5.00
  2. Object = "{239D6AE1-31D1-11D1-B2DE-444553540000}#1.0#0"; "ANIFORM.OCX"
  3. Begin VB.Form Form1 
  4.    BorderStyle     =   3  'Fixed Dialog
  5.    Caption         =   "Animation Form Icon ActiveX Demo"
  6.    ClientHeight    =   1920
  7.    ClientLeft      =   1095
  8.    ClientTop       =   1485
  9.    ClientWidth     =   6240
  10.    LinkTopic       =   "Form1"
  11.    MaxButton       =   0   'False
  12.    MinButton       =   0   'False
  13.    PaletteMode     =   1  'UseZOrder
  14.    ScaleHeight     =   1920
  15.    ScaleWidth      =   6240
  16.    Begin VB.CommandButton Command2 
  17.       Caption         =   "Stop"
  18.       Height          =   495
  19.       Left            =   4440
  20.       TabIndex        =   1
  21.       Top             =   1080
  22.       Width           =   1575
  23.    End
  24.    Begin VB.CommandButton Command1 
  25.       Caption         =   "Play"
  26.       Height          =   495
  27.       Left            =   4440
  28.       TabIndex        =   0
  29.       Top             =   360
  30.       Width           =   1575
  31.    End
  32.    Begin AniForm.AniForm AniForm1 
  33.       Left            =   4800
  34.       OleObjectBlob   =   "VB5Demo.frx":0000
  35.       Top             =   120
  36.    End
  37.    Begin VB.Label Label1 
  38.       Caption         =   "Animation Form Icon ActiveX"
  39.       Height          =   1215
  40.       Left            =   240
  41.       TabIndex        =   2
  42.       Top             =   360
  43.       Width           =   3975
  44.    End
  45. Attribute VB_Name = "Form1"
  46. Attribute VB_GlobalNameSpace = False
  47. Attribute VB_Creatable = False
  48. Attribute VB_PredeclaredId = True
  49. Attribute VB_Exposed = False
  50. Private Sub Command1_Click()
  51.     AniForm1.Play
  52. End Sub
  53. Private Sub Command2_Click()
  54.     AniForm1.Stop
  55. End Sub
  56. Private Sub Form_Load()
  57.     t = "Animation Form Icon ActiveX 1.00c" & Chr(10) & Chr(13)
  58.     t = t & "Copyright (C) 1997, Jin Hui" & Chr(10) & Chr(13)
  59.     t = t & Chr(10) & Chr(13)
  60.     t = t & "E-mail: shjh@usa.net" & Chr(10) & Chr(13)
  61.     t = t & "Homepage: http://www.toptown.com/nowhere/jinhui"
  62.     Label1 = t
  63.     AniForm1.hWnd = Form1.hWnd
  64.     AniForm1.Play
  65. End Sub
  66.